package com.swt.testdemo.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author BleethNie
 * @version 1.0
 * @date 2020/11/12 15:45
 **/
@Data
@ApiModel(value = "日志图表表单")
public class UserLogChartForm {

    @ApiModelProperty(value = "用户id",example = "1")
    @NotNull
    private Integer userIdFilter;

    @ApiModelProperty(value = "操作",example = "用户登录")
    @NotEmpty
    private String operationFilter;


    @ApiModelProperty(value = "频率 HOUR、DAY、WEEK、MONTH，默认是HOUR", example = "DAY")
    @NotEmpty
    private String rateType;


}
